#pragma once
#include "..\DXAMLCommon.h"
#include "StringPtr.h"

class DeclElementModel
{
protected: 
	DeclElementModel(const DeclElementModel &);
public: 
	DeclElementModel();
	~DeclElementModel();
	enum
	{
		TypeEmpty = 0x0,
		TypeAny = 0x1,
		TypeMixed = 0x2,
		TypeTextOnly = 0x3,
		TypeElementOnly = 0x4
	};

	XINT32 GetType();
	void SetType(XINT32);
	struct StringPtr * GetTypeData();
	void SetTypeData(struct StringPtr *);
protected: 
	void operator=(const DeclElementModel &);
	XINT32 _nType;
	struct StringPtr _type;
};